<?php
/**
 * Created by hbbzy.me.
 * project: frame
 * User: hbbzy
 * Date: 2018/2/17
 * Time: 20:13
 */

namespace app\backend\controller;


use think\Controller;
use app\common\lib\ViewHelper;
class Base extends Controller
{
    protected $_viewHelp;
    public function _initialize()
    {
        parent::_initialize();
        $this->_viewHelp = new ViewHelper();
        $this->assign('css',$this->_viewHelp->getCss());
        $this->assign('js',$this->_viewHelp->getJs());
        $this->assign('mete',$this->_viewHelp->getMate());
        $this->assign('img',$this->_viewHelp->getImage());
    }
}